﻿<Window x:Class="SMS.Shell.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="800" FontSize="18" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Menu Name="menu1" Grid.Row="0">
            <MenuItem Header="发货单">
                <MenuItem Header="发货" Name="_btnSend" Click="_btnSend_Click"/>
            </MenuItem>
            <MenuItem Header="初始化">
                <MenuItem Header="货物管理" Name="_btnCargoManagement" Click="_btnCargoManagement_Click"/>
                <MenuItem Header="客户管理" Name="_btnCustomerManagement" Click="_btnCustomerManagement_Click"/>
                <MenuItem Header="初始化数据库" Name="_btnInstall" Click="_btnInstall_Click"/>
            </MenuItem>
        </Menu>
        <Border BorderThickness="1" BorderBrush="Black" Grid.Row="1">
            <Frame Name="_frame" NavigationUIVisibility="Hidden"/>
        </Border>
    </Grid>
</Window>
